Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vmware_host_firewall_manager: Remove deprecated functionality #1463

Merged

Conversation

mariolenz
Copy link
Collaborator

SUMMARY

Fixes #1197

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

vmware_host_firewall_manager

ADDITIONAL INFORMATION

if isinstance(rule_option['allowed_hosts'], list):
if len(rule_option['allowed_hosts']) == 1:
allowed_hosts = rule_option['allowed_hosts'][0]
rule_option['allowed_hosts'] = allowed_hosts
module.deprecate(
msg='allowed_hosts should be a dict, not a list',
version='3.0.0',
collection_name='community.vmware'
)

and

try:
isinstance(rule_option["allowed_hosts"]["all_ip"], bool)
except (KeyError, IndexError):
module.deprecate(
msg=('Please adjust your playbook to ensure the `allowed_hosts` '
'entries come with an `all_ip` key (boolean).'),
version='3.0.0',
collection_name='community.vmware'
)

@mariolenz mariolenz added the WIP Work in progress label Sep 18, 2022
@mariolenz mariolenz force-pushed the issue1197 branch 2 times, most recently from fadd1d7 to 6481ac7 Compare September 18, 2022 13:35
@mariolenz mariolenz changed the title [WIP] vmware_host_firewall_manager: Improve argument_spec [WIP] vmware_host_firewall_manager: Remove deprecated functionality Sep 18, 2022
@softwarefactory-project-zuul
Copy link

Build failed.

✔️ ansible-tox-linters SUCCESS in 4m 11s
✔️ build-ansible-collection SUCCESS in 4m 17s
✔️ ansible-test-sanity-docker-devel SUCCESS in 8m 24s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 7m 28s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 8m 36s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 8m 21s
✔️ ansible-test-units-community-vmware-python38 SUCCESS in 6m 13s
✔️ ansible-test-cloud-integration-vcenter7_only-stable212 SUCCESS in 21m 51s
ansible-test-cloud-integration-vcenter7_2esxi-stable212 FAILURE in 15m 31s
✔️ ansible-test-cloud-integration-vcenter7_1esxi-stable212_1_of_2 SUCCESS in 54m 35s
✔️ ansible-test-cloud-integration-vcenter7_1esxi-stable212_2_of_2 SUCCESS in 46m 00s
✔️ ansible-galaxy-importer SUCCESS in 4m 07s

@softwarefactory-project-zuul
Copy link

Build failed.

✔️ ansible-tox-linters SUCCESS in 5m 12s
✔️ build-ansible-collection SUCCESS in 4m 13s
✔️ ansible-test-sanity-docker-devel SUCCESS in 9m 22s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 9m 13s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 8m 29s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 7m 59s
✔️ ansible-test-units-community-vmware-python38 SUCCESS in 5m 10s
✔️ ansible-test-cloud-integration-vcenter7_only-stable212 SUCCESS in 17m 21s
ansible-test-cloud-integration-vcenter7_2esxi-stable212 FAILURE in 14m 57s
✔️ ansible-test-cloud-integration-vcenter7_1esxi-stable212_1_of_2 SUCCESS in 50m 58s
✔️ ansible-test-cloud-integration-vcenter7_1esxi-stable212_2_of_2 SUCCESS in 43m 03s
✔️ ansible-galaxy-importer SUCCESS in 4m 07s

@softwarefactory-project-zuul
Copy link

Build failed.

✔️ ansible-tox-linters SUCCESS in 4m 09s
✔️ build-ansible-collection SUCCESS in 4m 12s
✔️ ansible-test-sanity-docker-devel SUCCESS in 8m 37s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 7m 35s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 9m 13s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 7m 45s
✔️ ansible-test-units-community-vmware-python38 SUCCESS in 5m 30s
✔️ ansible-test-cloud-integration-vcenter7_only-stable212 SUCCESS in 17m 40s
ansible-test-cloud-integration-vcenter7_2esxi-stable212 FAILURE in 16m 02s
ansible-test-cloud-integration-vcenter7_1esxi-stable212_1_of_2 RETRY_LIMIT in 1h 02m 28s
ansible-test-cloud-integration-vcenter7_1esxi-stable212_2_of_2 RETRY_LIMIT in 1h 02m 54s
✔️ ansible-galaxy-importer SUCCESS in 4m 47s

@softwarefactory-project-zuul
Copy link

Build failed.

✔️ ansible-tox-linters SUCCESS in 4m 30s
✔️ build-ansible-collection SUCCESS in 4m 10s
✔️ ansible-test-sanity-docker-devel SUCCESS in 7m 28s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 9m 08s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 8m 50s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 8m 02s
✔️ ansible-test-units-community-vmware-python38 SUCCESS in 6m 42s
✔️ ansible-test-cloud-integration-vcenter7_only-stable212 SUCCESS in 17m 42s
ansible-test-cloud-integration-vcenter7_2esxi-stable212 FAILURE in 15m 53s
✔️ ansible-test-cloud-integration-vcenter7_1esxi-stable212_1_of_2 SUCCESS in 55m 15s
✔️ ansible-test-cloud-integration-vcenter7_1esxi-stable212_2_of_2 SUCCESS in 43m 32s
✔️ ansible-galaxy-importer SUCCESS in 4m 12s

@softwarefactory-project-zuul
Copy link

Build succeeded.

✔️ ansible-tox-linters SUCCESS in 4m 15s
✔️ build-ansible-collection SUCCESS in 4m 52s
✔️ ansible-test-sanity-docker-devel SUCCESS in 10m 50s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 9m 33s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 9m 32s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 9m 28s
✔️ ansible-test-units-community-vmware-python38 SUCCESS in 7m 33s
✔️ ansible-test-cloud-integration-vcenter7_only-stable212 SUCCESS in 18m 46s
✔️ ansible-test-cloud-integration-vcenter7_2esxi-stable212 SUCCESS in 17m 40s
✔️ ansible-test-cloud-integration-vcenter7_1esxi-stable212_1_of_2 SUCCESS in 54m 06s
✔️ ansible-test-cloud-integration-vcenter7_1esxi-stable212_2_of_2 SUCCESS in 42m 56s
✔️ ansible-galaxy-importer SUCCESS in 4m 12s

@mariolenz mariolenz closed this Sep 20, 2022
@mariolenz mariolenz reopened this Sep 20, 2022
@softwarefactory-project-zuul
Copy link

Build failed.

✔️ ansible-tox-linters SUCCESS in 4m 20s
✔️ build-ansible-collection SUCCESS in 4m 32s
✔️ ansible-test-sanity-docker-devel SUCCESS in 13m 42s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 7m 29s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 7m 41s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 8m 29s
✔️ ansible-test-units-community-vmware-python38 SUCCESS in 5m 40s
✔️ ansible-test-cloud-integration-vcenter7_only-stable212 SUCCESS in 18m 53s
✔️ ansible-test-cloud-integration-vcenter7_2esxi-stable212 SUCCESS in 17m 18s
✔️ ansible-test-cloud-integration-vcenter7_1esxi-stable212_1_of_2 SUCCESS in 52m 29s
ansible-test-cloud-integration-vcenter7_1esxi-stable212_2_of_2 FAILURE in 17m 41s
✔️ ansible-galaxy-importer SUCCESS in 3m 37s

@mariolenz
Copy link
Collaborator Author

recheck

@softwarefactory-project-zuul
Copy link

Build succeeded.

✔️ ansible-tox-linters SUCCESS in 4m 06s
✔️ build-ansible-collection SUCCESS in 4m 12s
✔️ ansible-test-sanity-docker-devel SUCCESS in 8m 47s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 7m 55s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 8m 36s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 7m 26s
✔️ ansible-test-units-community-vmware-python38 SUCCESS in 5m 40s
✔️ ansible-test-cloud-integration-vcenter7_only-stable212 SUCCESS in 19m 52s
✔️ ansible-test-cloud-integration-vcenter7_2esxi-stable212 SUCCESS in 17m 25s
✔️ ansible-test-cloud-integration-vcenter7_1esxi-stable212_1_of_2 SUCCESS in 52m 17s
✔️ ansible-test-cloud-integration-vcenter7_1esxi-stable212_2_of_2 SUCCESS in 42m 54s
✔️ ansible-galaxy-importer SUCCESS in 4m 03s

@mariolenz mariolenz changed the title [WIP] vmware_host_firewall_manager: Remove deprecated functionality vmware_host_firewall_manager: Remove deprecated functionality Sep 20, 2022
@mariolenz mariolenz added mergeit and removed WIP Work in progress labels Sep 20, 2022
@softwarefactory-project-zuul
Copy link

Build succeeded (gate pipeline).

✔️ ansible-tox-linters SUCCESS in 4m 13s
✔️ build-ansible-collection SUCCESS in 3m 37s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 7m 56s
✔️ ansible-test-units-community-vmware-python38 SUCCESS in 6m 34s
✔️ ansible-galaxy-importer SUCCESS in 4m 18s

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit fac9919 into ansible-collections:main Sep 20, 2022
@mariolenz mariolenz deleted the issue1197 branch September 20, 2022 18:48
softwarefactory-project-zuul bot pushed a commit that referenced this pull request Oct 9, 2022
Update changelog fragments for a better porting guide

SUMMARY
Update changelog fragments for a better porting guide
ISSUE TYPE

Docs Pull Request

COMPONENT NAME
vsphere_copy
vmware_dns_config
vmware_dvs_portgroup
vmware_guest_boot_manager
vmware_guest_network
vmware_guest_vnc
vmware_host_firewall_manager
ADDITIONAL INFORMATION
#1456
#1455
#1483
#1461
#1459
#1454
#1463
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vmware_host_firewall_manager: Remove deprecated functionality
1 participant